<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head profile="http://gmpg.org/xfn/11">
    <title>{{ title }}</title>
    <link rel="stylesheet" href="/static/css/global.css">
    <link rel="stylesheet" type="text/css" href="/static/css/futaba.css" title="Futaba">
    <link rel="alternate stylesheet" type="text/css" href="/static/css/burichan.css" title="Burichan">
    <script type="text/javascript"><!--
    var style_cookie = 'pyib_style';
    var ispage = {{ is_page }};
    //--></script>
    <script type="text/javascript" src="/static/js/pyib.js"></script>
  </head>
  <body>
    <div class="adminbar">
      [<a href="#" onclick="javascript:set_stylesheet('Futaba');return false;">Futaba</a>] [<a href="#" onclick="javascript:set_stylesheet('Burichan');return false;">Burichan</a>] - [<a href="/{% if administratorview %}?admin{% endif %}">Home</a>] [<a href="/panel">Account</a>]{% if administratorview %} [<a href="/admin">Manage</a>]{% endif %}
    </div>
    <div class="logo">
      <a href="/"><img src="/static/images/pyib_logo.png" border="0" width="240" height="120" alt="Logo"></a><br>
    </div>
    <div style="text-align: center;font-weight: bold;">Rules: No pornographic images/child models/invasion discussion</div>
    <hr>
    <div style="text-align: center;">
      <script type="text/javascript"><!--
      google_ad_client = "pub-6158454562572132";
      /* PyIB Top of Page */
      google_ad_slot = "0710455317";
      google_ad_width = 728;
      google_ad_height = 90;
      //-->
      </script>
      <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
      </script>
    </div>
    <hr>{% block page %}{% endblock %}
    <div class="footer" style="clear: both;">
      - <a href="http://www.2chan.net" rel="contact">futaba</a> + <a href="http://www.1chan.net" rel="contact">futallaby</a> + <a href="http://www.kusaba.org" rel="me">kusaba</a> + <a href="http://pyib.appspot.com" rel="me">PyIB</a> -{% if administratorview %}<br>
      - Administrator View -{% else %}{% if cached %}<br>
      - Cached {{ cached }} -{% else %}{% if execution_time_seconds %}<br>
      - Took {{ execution_time_seconds }}.{{ execution_time_microseconds }} seconds -{% endif %}{% endif %}{% endif %}
    </div>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-71983-19");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
  </body>
</html>